@keyframes quiet {
    25% {
        transform: scaleY(.6);
    }
    50% {
        transform: scaleY(.4);
    }
    75% {
        transform: scaleY(.8);
    }
}

@keyframes normal {
    25% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(.4);
    }
    75% {
        transform: scaleY(.6);
    }
}

@keyframes loud {
    25% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(.4);
    }
    75% {
        transform: scaleY(1.2);
    }
}

.voice_waving {
    display: flex;
    justify-content: space-between;
    height: 14px;
    --boxSize: 2px;
    --gutter: 3px;
    width: calc((var(--boxSize) + var(--gutter)) * 5);
}

.box {
    transform: scaleY(.4);
    height: 100%;
    width: var(--boxSize);
    background: #0084ff;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    border-radius: 8px;
}

.box:nth-child(1) {
    animation-name: quiet;
}

.box:nth-child(2) {
    animation-name: normal;
}

.box:nth-child(3) {
    animation-name: quiet;
}

.box:nth-child(4) {
    animation-name: loud;
}

.box:nth-child(5) {
    animation-name: quiet;
}
